body{
    background-color: #fff;
    height: 100%;
}
// 顶部导航栏
.top-bar{
    background: #333;
    color: #fff;
    width: 100%;
    height: 40px;
    position: sticky;
    top:0;
    z-index: 2;
    .top-box{
        font-size: 12px;
        height: 40px;
        margin: 0 auto;
        max-width: 1240px;
        text-align: left;

        .top-nav-list{
            float: left;
            height: 100%;
            a{
                box-sizing: border-box;
                color: #fff;
                cursor: pointer;
                display: inline-block;
                height: 100%;
                line-height: 20px;
                margin-right: 25px;
                padding: 10px 0;
            }
        }
        .top-user-box{
            float: right;
            height: 100%;
            .user-box{
                position: relative;
                float: left;
                .text-lnk{
                    box-sizing: border-box;
                    color: #fff;
                    cursor: pointer;
                    display: inline-block;
                    height: 100%;
                    line-height: 20px;
                    margin-right: 25px;
                    padding: 10px 0;
                    text-align: center;
                }
                .user-more-list{
                    width: 100px;
                    background: #fff;
                    border-radius: 4px;
                    box-shadow: 0 0 8px -4px rgb(0,0,0,0.5);
                    display: none;
                    position: absolute;
                    left: 50%;
                    top: 5px;
                    margin-left: -50px;
                    padding: 0 10px;
                    .user-name{
                        font-weight: 700;
                        // overflow: hidden;
                        text-overflow: ellipsis;
                        color: #666;
                    }
                    a{
                        color: #666;
                        display: block;
                        box-sizing: border-box;
                        height: 30px;
                        text-align: center;
                        line-height: 20px;
                        padding: 5px 0;
                    }
                }
                .loginAndRegister{
                    float: left;
                    // width: 100px;
                    height: 40px;
                    line-height: 40px;
                    span{
                        float: left;
                        // width: 100px;
                        display: block;
                        color: #fff;
                    }
                    a{
                        float: left;
                        display: block;
                        color: #fff;
                        margin-left: 20px;
                    }
                }
            }
            .cart-box{
                position: relative;
                float: right;
                .text-lnk{
                    box-sizing: border-box;
                    color: #fff;
                    cursor: pointer;
                    display: inline-block;
                    height: 40px;
                    line-height: 22px;
                    margin-left: 20px;
                    padding: 9px 0;
                    text-align: center;
                    width: 44px;
                    .index-icon{
                        background-position: -110px -49px;
                        height: 22px;
                        margin: -1px 0;
                        vertical-align: top;
                        width: 24px;
                        background-image: url(../images/index02.png);
                        background-repeat: no-repeat;
                        background-size: 200px 240px;
                        display: inline-block;
                    }
                }
                .cart-detail-box{
                    background: #fff;
                    border-radius: 0 0 4px 4px;
                    box-shadow: 0 0 8px -4px rgb(0,0,0,0.5);
                    display: none;
                    position: absolute;
                    right: 0;
                    top: 44px;
                    width: 295px;
                    .text-lnk{
                        box-sizing: border-box;
                        cursor: pointer;
                        display: inline-block;
                        margin-right: 0;
                        line-height: 22px;
                        margin-left: 20px;
                        padding: 9px 0;
                        text-align: center;
                        width: 44px;
                        height: 40px;
                        background-color: #fff;
                        border-radius: 4px 4px 0 0;
                        position: absolute;
                        right: 0;
                        top: -40px;
                        .index-icon{
                            background-position: -140px -49px;
                            background-image: url(../images/index02.png);
                            background-repeat: no-repeat;
                            background-size: 200px 240px;
                            display: inline-block;
                            margin-top: -4px;
                            height: 22px;
                            margin: -1px 0;
                            vertical-align: top;
                            width: 24px;

                        }
                    }
                    .js_cart_box{
                        .cart-box-text{
                            color: #333;
                            padding: 30px 0;
                            text-align: center;
                        }
                    }
                }
            }
            
        }
    }
}
// 网页头部
.head{
    width: 100%;
    border-bottom: 1px solid #333;
    .head-box{
        width: 1240px;
        margin: 0 auto;
        padding: 30px 0 10px 0;
        background-color: #fff;
        .logo-box{
            margin-right: 50px;
            float: left;
            width: 180px;
            height: 36px;
            a{
                width: 180px;
                height: 36px;
                display: block;
                background-image: url(../images/index01.png);
                background-size: 180px 36px;
            }
        }
        .nav-box{
            float: left;
            width: 500px;
            height: 36px;
            line-height: 36px;
            ul{

                li{
                    float: left;
                    font-size: 18px;
                    color: #333;
                    margin-right: 50px;
                }
            }
        }
        .search-box{
            float: right;
            height: 100%;
            position: relative;
            width: 420px;
            .search-bar{
                background: rgba(255,255,255,0.8);
                border: 1px solid #ccc;
                border-radius: 18px;
                box-sizing: border-box;
                height: 100%;
                padding: 5px 30px;
                position: relative;
                text-align: left;
                width: 100%;
                .search-ipt{
                    background: transparent;
                    height: 24px;
                    outline: none;
                    padding: 0;
                    width: 340px;
                    border: 0;
                }
                .big-search{
                    background-position: -170px -48px;
                    cursor: pointer;
                    width: 24px;
                    height: 24px;
                    position: absolute;
                    right: 20px;
                    top: 5px;
                    width: 24px;
                    background-image: url(../images/index02.png);
                    background-repeat: no-repeat;
                    background-size: 200px 240px;
                    display: inline-block;
                    }
                }
            .search-text{
                color: #666;
                font-size: 12px;
                line-height: 15px;
                overflow: hidden;
                padding: 6px 30px 0;
                text-align: left;
                ul{
                    width: 300px;
                    color: #666;
                    padding-top: 6px;
                    li{
                        float: left;
                        margin-right: 10px;
                        cursor: pointer;
                    }
                }
            }
            }
        }
}
// 网页商品详情区域
.product-list{
    width: 100%;
    .prod-intro{
        margin: 0 auto;
        min-height: 700px;
        padding-bottom: 50px;
        padding-top: 40px;
        width: 1240px;
        .sPic{
            .middle{
                position: relative;
                width: 480px;
                height: 480px;
                .mask{
                    width: 298px;
                    height: 298px;
                    background-color: #fede4f;
                    opacity: 0.5;
                    position: absolute;
                    top: 0;
                    left: 0;
                    cursor: move;
                    display: none;
                }
                .big{
                    width: 500px;
                    height: 500px;
                    background-color: #fff;
                    position: absolute;
                    top: 0;
                    left: 105%;
                    overflow: hidden;
                    display: none;
                    img{
                        position: absolute;
                        left: 0;
                        top: 0;
                        width: 800px;
                        height: 800px;
                    }
                }
            }
            .small{
                img{
                    width: 90px;
                    height: 90px;
                }
                img.active{
                    border-bottom: 3px solid #999;
                }
            }
            .feature-box{
                background-color: #fafafa;
                font-size: 14px;
                line-height: 20px;
                margin-top: 24px;
                padding: 10px 35px;
                width: 412px;
                ul{
                    margin: -20px 0 0 -30px;
                    li{
                        display: inline-block;
                        margin: 20px 0 0 30px;
                        img{
                            width: 16px;
                            height: 16px;
                        }
                    }
                }
            }
        }
        .sInfo{
            width: 678px;
            padding-top: 12px;
            .product-info{
                .sInfo-title{
                    font-size: 18px;
                    font-weight: 400;
                }
                .sInfo-wrap-content{
                    margin-top: 11px;
                    background: #fafafa;
                    padding-top: 15px;
                    border-top: 5px solid #f0f0f0;
                    .row-box{
                        line-height: 24px;
                        padding: 0 20px 16px 15px;
                        .row-box-label{
                            font-size: 14px;
                            color: #333;
                            margin-right: 5px;
                        }
                        .nowprice{
                            font-size: 24px;
                            color: #fa5437;
                        }
                        .oldprice{
                            text-decoration: line-through;
                        }
                    }
                }
                .sInfo-subtitle{
                    color: #f33;
                    font-size: 14px;
                    margin-top: 20px;
                    a{
                        color: #2661b2;
                        text-decoration: underline;
                    }
                }
            }
            .top-notice-bar{
                background: url(https://p2.qhimg.com/t0162338fb79bf00d67.png) #ffebc6 no-repeat 8px center;
                background-size: 19px 19px;
                padding: 8px;
                padding-left: 35px;
                border-radius: 5px;
                color: #f33;
                font-size: 12px;
                margin: 10px 0;
            }
            .sInfo-wrap{
                padding-top: 15px;
                .row-box{
                    padding: 0 20px 16px 15px;
                    .cate-label{
                        width: 45px;
                        height: 24px;
                        font-size: 14px;
                        margin-right: 10px;
                        letter-spacing: 8px;
                    }
                    .cate-list{
                        li{
                            display: inline-block;
                            a{
                                background: #ffebe9;
                                border-radius: 4px;
                                border: 1px solid #f33;
                                color: #333;
                                display: block;
                                height: 26px;
                                line-height: 26px;
                                padding: 0 20px;
                            }
                        }
                    }
                }
                .product-status{
                    padding-top: 15px;
                    .row-box{
                        .row-box-label{
                            height: 24px;
                            width: 45px;
                            font-size: 14px;
                            margin-right: 10px;
                            letter-spacing: 8px;
                        }
                        .row-box-content{
                            .row-box{
                                
                            }
                            a{
                                background: #fff;
                                color: #ddd;
                                cursor: not-allowed;
                                border: 1px solid #ddd;
                                width: 26px;
                                height: 26px;
                                line-height: 26px;
                                margin-left: -1px;
                                vertical-align: middle;
                                text-align: center;
                                font-size: 16px;
                            }
                            input{
                                background: #fff;
                                color: #999;
                                font-size: 14px;
                                padding: 0;
                                text-align: center;
                                width: 40px;
                                border: 1px solid #ddd;
                                height: 26px;
                            }
                        }
                    }
                    .sInfo-btns{
                        a{
                            border-radius: 6px;
                            font-size: 20px;
                            width: 200px;
                            border: 1px solid #f33;
                            color: #f33;
                            cursor: pointer;
                            display: inline-block;
                            text-align: center;
                            background: #ffebe9;
                            line-height: 38px;
                            margin-right: 16px;
                        }
                        .cart{
                            border: 1px solid transparent;
                            background: #f33;
                            color: #fff;
                        }
                    }
                }
            }
        }
    }
    .gInfo{
        margin: 0 auto;
        width: 1000px;
        .detail-imgs-box-poster{
            a{
                img{
                    width: 100%;
                }
            }
        }
        .gInfo-tab-wrap{
            background: #fff;
            border: 1px solid #ddd;
            padding: 7px 0;
            box-sizing: border-box;
            position: sticky;
            top:40px;
            ul{
                margin-top: 6px;
                float: left;
                font-size: 14px;
                li{
                    border-left: 1px solid #333;
                    display: inline-block;
                    padding: 0 30px;
                    span.active{
                        display: block;
                        height: 5px;
                        width: 100%;
                        background: linear-gradient(90deg,#f33 0,rgba(255,51,51,0.3) 100%);
                    }
                }
            }
            .sInfo-btns{
                display: inline-block;
                a{
                    border-radius: 6px;
                    font-size: 20px;
                    width: 152px;
                    border: 1px solid #f33;
                    color: #f33;
                    cursor: pointer;
                    display: inline-block;
                    text-align: center;
                    background: #ffebe9;
                    line-height: 34px;
                    margin-right: 6px;
                }
                .cart{
                    border: 1px solid transparent;
                    background: #f33;
                    color: #fff;
                }
            }
        }
        .gInfo-content{
            border: 1px solid #ddd;
            padding: 20px 0;
            p{
                margin-top: -3px;
                img{
                    width: 100%;
                }
            }
        }
    }

}
// 网页商城简介区域
.helper-floor{
        width: 100%;
        background-color: #fff;
        .footer-box{
            margin: 0 auto;
            width: 1240px;
            padding: 60px 0;
            .helper-box{
                float: left;
                margin-right: 100px;
                .helper-title{
                    font-size: 18px;
                    font-weight: 700;
                    line-height: 30px;
                    margin-bottom: 27px;
                }
                .helper-text{
                    display: block;
                    font-size: 14px;
                    line-height: 24px;
                    margin-bottom: 6px;
                }
            }
            .about-box{
                width: 320px;
                .follow-box{
                    border-top: 1px solid #666;
                    line-height: 30px;
                    margin-top: 20px;
                    padding-top: 19px;
                }
            }
            .lnk-box{
                .helper-text{
                    color: #666;
                }
            }
            .contact-box{
                float: right;
                border-left: 1px solid #979797;
                min-height: 230px;
                text-align: center;
                width: 300px;
                margin-right: 0;
                .big-text{
                    font-weight: 700;
                    font-size: 28px;
                    line-height: 30px;
                }
                .small-text{
                    color: #999;
                    font-size: 14px;
                    line-height: 30px;
                }
            }
        }
}
// 网页右侧区域
.mod-right-side{
    border-left: 1px solid #e7e7e7;
    width: 39px;
    height: 100%;
    background: rgba(255,255,255,0.8);
    position: fixed;
    right: 0;
    top: 0;
    .right-middle-box{
        position: absolute;
        right: 0;
        width: 100%;
        top:40px;
        a{
            box-sizing: border-box;
            display: block;
            height: 36px;
            padding: 10px;
            i{
                width: 20px;
                height: 20px;
                background-image: url(../images/productDetails/icon.png);
                background-repeat: no-repeat;
                background-size: 200px 240px;
                display: inline-block;
            }
        }
        a:nth-child(1)>i{
            background-position: -172px -81px;
        }
        a:nth-child(2)>i{
            background-position: -172px -104px;
        }
        a:nth-child(3)>i{
            background-position: -172px -129px;
        }
    }
    .right-bottom-box{
        bottom: 160px;
        position: absolute;
        right: 0;
        width: 100%;
        a{
            box-sizing: border-box;
            display: block;
            height: 36px;
            padding: 10px;
            i{
                width: 20px;
                height: 20px;
                background-image: url(../images/productDetails/icon.png);
                background-repeat: no-repeat;
                background-size: 200px 240px;
                display: inline-block;
            }
        }
        a:nth-child(1)>i{
            background-position: -172px -154px;
        }
        a:nth-child(2)>i{
            height: 0;
            transition: height 1s;
            background-position: -172px -180px;
        }
    }
}
// 版权区域
.copyright-floor{
    width: 100%;
    background: #333;
    color: #fff;
    .footer-box{
        margin: 0 auto;
        width: 1240px;
        .service-policy-list{
            border-bottom: 1px solid #666;
            padding: 25px 0;
            text-align: center;
            .policy-item{
                color: #fff;
                display: inline-block;
                font-size: 24px;
                line-height: 30px;
                margin-right: 150px;
                vertical-align: top;
            }
        }
        .copyright-line{
            font-size: 14px;
            line-height: 20px;
            padding: 18px 0 21px;
            text-align: center;
            a{
                color: #fff;
            }
        }
    }
}